package top.lishuoboy.knife4j.swagger3_0_0.enums;

import lombok.AllArgsConstructor;

/**
 * 接口响应码
 *
 * @author lishuoboy
 * @date 2022-12-6 21:21:16
 */
@AllArgsConstructor
public enum Code {
    SUCCESS(0, "成功"),
    FAIL_CLIENT(1400, "客户端问题"),
    FAIL_SERVER(1500, "服务器问题"),
    ;

    /** 响应码 */
    public final Integer code;
    /** 响应码描述 */
    public final String msg;
}
